package com.wsd.jing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsd.jing.entity.RolePermission;
import com.wsd.jing.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.mapper
 * @className: UserMapper
 * @description: 用户Mapper接口
 * @createDate 2022-11-14 07:02
 * @copyright 2022-11-14 07:02 www.tom.com Inc. All rights reserved.
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * @param id:用户ID
     * @return RolePermission
     * @author tom
     * @description 查询用户数据权限列表
     * @createDate 2023/12/21 14:30
     */
    RolePermission getUserRolePermission(@Param("id") Integer id);
}
